import BlankView from "@/layouts/BlankView";
const wms = [
  {
    path: "index",
    name: "工作台",
    meta: {
      icon: "dashboard",
    },
    component: () => import("@/module/wms/pages/home"),
  },
  {
    path: "setting",
    name: "仓库配置",
    meta: {
      icon: "setting",
    },
    component: BlankView,
    children: [
      {
        path: "warehouse",
        name: "仓库管理",
        component: () => import("@/module/wms/pages/setting/warehouse"),
      },
      {
        path: "location",
        name: "库位规划",
        component: () => import("@/module/wms/pages/setting/location"),
      },
      {
        path: "container",
        name: "周转容器",
        component: () => import("@/module/wms/pages/setting/container"),
      },
    ],
  },
  {
    path: "in",
    name: "入库管理",
    meta: {
      icon: "right",
    },
    component: () => import("@/module/wms/pages/in"),
  },
  {
    path: "out",
    name: "出库管理",
    meta: {
      icon: "left",
    },
    component: () => import("@/module/wms/pages/out"),
  },
  {
    path: "live",
    name: "实时库存",
    meta: {
      icon: "database",
    },
    component: () => import("@/module/wms/pages/live"),
  },
  {
    path: "log",
    name: "出入记录",
    meta: {
      icon: "database",
    },
    component: () => import("@/module/wms/pages/log"),
  },
  {
    path: "inner",
    name: "库内管理",
    meta: {
      icon: "retweet",
    },
    component: BlankView,
    children: [
      {
        path: "adjust",
        name: "调整",
        component: () => import("@/pages/form/basic"),
      },
      {
        path: "inventory",
        name: "盘点",
        component: () => import("@/pages/form/step"),
      },
    ],
  },
  {
    path: "analysis",
    name: "报表分析",
    meta: {
      icon: "area-chart",
    },
    component: BlankView,
    children: [
      {
        path: "warn",
        name: "预警报表",
        component: () => import("@/pages/form/step"),
      }
    ],
  },
];

export default wms;
